package com.dragon8869.myspringboot.service.impl;

import com.dragon8869.myspringboot.model.AyUserAttachmentRef;
import com.dragon8869.myspringboot.repository.AyUserAttachmentRefRepository;
import com.dragon8869.myspringboot.service.AyUserAttachmentRefService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class AyUserAttachmentRefServiceImpl implements AyUserAttachmentRefService {

    @Resource
    private AyUserAttachmentRefRepository ayUserAttachmentRefRepository;

    @Override
    public AyUserAttachmentRef save(AyUserAttachmentRef ayUserAttachmentRef) {
        return ayUserAttachmentRefRepository.save(ayUserAttachmentRef);
    }
}
